Solution of Fredholm Integral Equations by Collocation